XPDF_SelectionChanged
Type
message
Summary
Sent to the current card when the user changes the text selection
Syntax
XPDF_SelectionChanged <selectionRange>
Description
Sent to the current card when the user changes the text selection
Parameters
Name | Type | Description |
---|---|---|
selectionRange | A comma-delimited list of 4 integers:
|
Examples
on XPDF_SelectionChanged pSelectionRange
local theSelectedText
XPDFViewer_GetSelectionUnicode "Document1", "theSelectedText"
set the text of field "selected text" to textDecode(theSelectedText,"UTF16")
end XPDF_SelectionChanged
Compatibility and Support
Introduced
LiveCode 1.0.0
OS
mac
windows
Platforms
desktop